package com.zhkc.iess.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 角色资源关联表
 *
 * @TableName sys_role_resource
 */
@TableName(value = "sys_role_resource")
@Data
public class SysRoleResource implements Serializable {
    @Serial
    private static final long serialVersionUID = -6593418897101067455L;
    /**
     *
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 角色编号
     */
    private Long roleId;

    /**
     * 资源菜单编号
     */
    private Long resourceId;
}